package com.dhl.cloud.common.vdo;

import java.io.Serializable;
import java.util.List;

import com.dhl.cloud.core.entity.UserAndRole;

/**
 * 登录用户返回的bean
 *
 */
public class UserBean implements Serializable{
	private String token;
	private String username;
	private String personname;
	private String userimgurl;
	private Integer userid;
	private String ssotoken;
	//基座token过期时间
	private String expiresin;
	//("角色集合")
	private List<UserAndRole> roleList;

	public String getExpiresin() {
		return expiresin;
	}

	public void setExpiresin(String expiresin) {
		this.expiresin = expiresin;
	}

	public String getSsotoken() {
		return ssotoken;
	}

	public void setSsotoken(String ssotoken) {
		this.ssotoken = ssotoken;
	}

	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPersonname() {
		return personname;
	}
	public void setPersonname(String personname) {
		this.personname = personname;
	}
	public String getUserimgurl() {
		return userimgurl;
	}
	public void setUserimgurl(String userimgurl) {
		this.userimgurl = userimgurl;
	}
	public List<UserAndRole> getRoleList() {
		return roleList;
	}
	public void setRoleList(List<UserAndRole> roleList) {
		this.roleList = roleList;
	}
	
	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}
}
